home *** CD-ROM | disk | FTP | other *** search
/ Over 1,000 Windows 95 Programs / Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso / 1138 / source.zip / MSGS.H < prev    next >
C/C++ Source or Header  |  1995-02-12  |  2KB  |  43 lines

  1. /*     msgs.h -- prototypes for msgs.c
  2.     This file is part of Paperboy, an offline mail/newsreader for Windows
  3.     Copyright (C) 1995  Michael H. Vartanian
  4.         vart@clark.net
  5.  
  6.     This program is free software; you can redistribute it and/or modify
  7.     it under the terms of the GNU General Public License as published by
  8.     the Free Software Foundation; either version 2 of the License, or
  9.     (at your option) any later version.
  10.  
  11.     This program is distributed in the hope that it will be useful,
  12.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.     GNU General Public License for more details.
  15.  
  16.     You should have received a copy of the GNU General Public License
  17.     along with this program; if not, write to the Free Software
  18.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19. */
  20. #ifndef HMSGS
  21. #define HMSGS
  22.  
  23. #define QHDRSIZE    100
  24. #define QHDRTEXTSIZE    4000
  25.  
  26. #include "structs.h"
  27.  
  28. int             DLLFUNC GetNumMsgs (int index);
  29. char *  DLLFUNC GetSubject (int areaindex, int msgindex);
  30. char *  DLLFUNC GetAuthor (int areaindex, int msgindex);
  31. char *  DLLFUNC GetDate (int areaindex, int msgindex);
  32. int             DLLFUNC GetMsg (int areaindex, int msgindex);
  33. void    DLLFUNC Rot13Msg (void);
  34. int             DLLFUNC GetNumLines (void);
  35. char *  DLLFUNC GetLine (int line);
  36. int             DLLFUNC GetInfo (void);
  37. int extractvalue (char *, char *, char **);
  38. int parsemsg (struct llareas *);
  39. int getheaders (FILE *, struct llareas *);
  40. char * DLLFUNC GetHeader (char * header);
  41.  
  42. #endif
  43.